/**
 * @author Ucar Sahin
 *
 * 27.05.2011
 * NutritionalJournal.java
 * 
 */

package at.fhv.easyDietWeb.shared.db.diet;

import java.util.Date;

import at.fhv.easyDietWeb.shared.db.masterData.Patient;
import at.fhv.easyDietWeb.shared.db.masterData.Person;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * information: if something is special in this class or has to be adhered,
 * comment it here
 */
public class NutritionalJournal implements IsSerializable
{
	private int _nutritionalJournalId;
	private String _type;
	private Patient _patient;
	private Date _startDate;
	private Date _endDate;
	private Person _createdBy;
	private String _description;

	private void setNutritionalJournalId(int nutritionalJournalId)
	{
		_nutritionalJournalId = nutritionalJournalId;
	}

	public int getNutritionalJournalId()
	{
		return _nutritionalJournalId;
	}

	public void setPatient(Patient patient)
	{
		_patient = patient;
	}

	public Patient getPatient()
	{
		return _patient;
	}

	public void setStartDate(Date startDate)
	{
		_startDate = startDate;
	}

	public Date getStartDate()
	{
		return _startDate;
	}

	public void setEndDate(Date endDate)
	{
		_endDate = endDate;
	}

	public Date getEndDate()
	{
		return _endDate;
	}

	public void setCreatedBy(Person createdBy)
	{
		_createdBy = createdBy;
	}

	public Person getCreatedBy()
	{
		return _createdBy;
	}

	public void setDescription(String description)
	{
		_description = description;
	}

	public String getDescription()
	{
		return _description;
	}

	public void setType(String type)
	{
		_type = type;
	}

	public String getType()
	{
		return _type;
	}
}
